package com.yang.webhook.modules.entity;
// Generated 2017-7-19 17:11:30 by Hibernate Tools 4.3.1.Final

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 日志表
 * 
 * @author 刘超
 * @version 1.0 2017-7-19 17:12:11
 */
@Entity
@Table(name = "wis_log", schema = "public")
public class WisLog implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -368425258150617553L;
	/**
	 * 日志主键
	 */
	private String logId;
	/**
	 * 索引
	 */
	private int logSeq;
	/**
	 * 系统标识
	 */
	private String logSysIdentify;
	/**
	 * 记录时间
	 */
	private String logSysRecordingtime;
	/**
	 * 操作描述
	 */
	private String logSysOperationdesc;
	/**
	 * 系统主键
	 */
	private String logSysSystemdesc;
	/**
	 * 系统时间
	 */
	private Date logRecordingtime;
	/**
	 * 请求地址 
	 */
	private String logSysurl;
	/**
	 * 操作用户标识
	 */
	private String logSysPersonid;

	public WisLog() {
	}

	public WisLog(String logId, int logSeq) {
		this.logId = logId;
		this.logSeq = logSeq;
	}

	public WisLog(String logId, int logSeq, String logSysIdentify, String logSysRecordingtime,
			String logSysOperationdesc, String logSysSystemdesc, Date logRecordingtime, String logSysurl,
			String logSysPersonid) {
		this.logId = logId;
		this.logSeq = logSeq;
		this.logSysIdentify = logSysIdentify;
		this.logSysRecordingtime = logSysRecordingtime;
		this.logSysOperationdesc = logSysOperationdesc;
		this.logSysSystemdesc = logSysSystemdesc;
		this.logRecordingtime = logRecordingtime;
		this.logSysurl = logSysurl;
		this.logSysPersonid = logSysPersonid;
	}
	/**
	 * @return 权限主键
	 */

	@Id

	@Column(name = "log_id", unique = true, nullable = false, length = 32)
	public String getLogId() {
		return this.logId;
	}
	/**
	 * @param logId 主键
	 */
	public void setLogId(String logId) {
		this.logId = logId;
	}
	/**
	 * @return 索引
	 */

	@Column(name = "log_seq", nullable = false)
	public int getLogSeq() {
		return this.logSeq;
	}
	/**
	 * @param logSeq 索引
	 */
	public void setLogSeq(int logSeq) {
		this.logSeq = logSeq;
	}
	/**
	 * @return 系统标识
	 */

	@Column(name = "log_sys_identify", length = 32)
	public String getLogSysIdentify() {
		return this.logSysIdentify;
	}
	/**
	 * @param logSysIdentify 系统标识
	 */
	public void setLogSysIdentify(String logSysIdentify) {
		this.logSysIdentify = logSysIdentify;
	}
	/**
	 * @return 记录时间
	 */

	@Column(name = "log_sys_recordingtime")
	public String getLogSysRecordingtime() {
		return this.logSysRecordingtime;
	}
	/**
	 * @param logSysRecordingtime 记录时间
	 */
	public void setLogSysRecordingtime(String logSysRecordingtime) {
		this.logSysRecordingtime = logSysRecordingtime;
	}
	/**
	 * @return 操作描述
	 */

	@Column(name = "log_sys_operationdesc")
	public String getLogSysOperationdesc() {
		return this.logSysOperationdesc;
	}
	/**
	 * @param logSysOperationdesc 操作描述
	 */
	public void setLogSysOperationdesc(String logSysOperationdesc) {
		this.logSysOperationdesc = logSysOperationdesc;
	}
	/**
	 * @return 系统描述
	 */

	@Column(name = "log_sys_systemdesc")
	public String getLogSysSystemdesc() {
		return this.logSysSystemdesc;
	}
	/**
	 * @param logSysSystemdesc 系统描述
	 */
	public void setLogSysSystemdesc(String logSysSystemdesc) {
		this.logSysSystemdesc = logSysSystemdesc;
	}
	/**
	 * @return 系统时间
	 */

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "log_recordingtime", length = 29)
	public Date getLogRecordingtime() {
		return this.logRecordingtime;
	}
	/**
	 * @param logRecordingtime 系统时间
	 */
	public void setLogRecordingtime(Date logRecordingtime) {
		this.logRecordingtime = logRecordingtime;
	}
	/**
	 * @return 请求地址
	 */

	@Column(name = "log_sysurl")
	public String getLogSysurl() {
		return this.logSysurl;
	}
	/**
	 * @param permisId 请求地址
	 */
	public void setLogSysurl(String logSysurl) {
		this.logSysurl = logSysurl;
	}
	/**
	 * @return 用户标识
	 */

	@Column(name = "log_sys_personid", length = 32)
	public String getLogSysPersonid() {
		return this.logSysPersonid;
	}
	/**
	 * @param logSysPersonid 用户标识
	 */
	public void setLogSysPersonid(String logSysPersonid) {
		this.logSysPersonid = logSysPersonid;
	}

}
